﻿<%@ Page Title="分类信息管理" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="sort_manage.aspx.cs" Inherits="sort_manage"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>分类信息管理</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<asp:GridView ID="GridView1" runat="server" BackColor="White" 
        BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" CellPadding="3" 
        CellSpacing="1" GridLines="None" Height="100px" Width="705px" 
        AutoGenerateColumns="False" HorizontalAlign="Center" OnRowDeleting="Delete">
        <Columns>
            <asp:BoundField DataField="SORT_NAME" HeaderText="分类名称"/>
            <asp:BoundField DataField="SORT_LEVEL" HeaderText="分类等级" />
            <asp:TemplateField HeaderText="删除分类" ShowHeader="False">
                <ItemTemplate>
                    <asp:LinkButton ID="Button1" runat="server" CausesValidation="False" 
                        CommandName="Delete" OnClientClick="return confirm('删除该分类将导致该分类的所有产品一并被删除，确认删除该分类？');" Text="删除" />
                </ItemTemplate>
            </asp:TemplateField>
            
        </Columns>
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
        <SortedAscendingCellStyle BackColor="#F1F1F1" />
        <SortedAscendingHeaderStyle BackColor="#594B9C" />
        <SortedDescendingCellStyle BackColor="#CAC9C9" />
        <SortedDescendingHeaderStyle BackColor="#33276A" />
    </asp:GridView>
</asp:Content>

